package com.xiaozhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 *
 * </p>
 *
 * @author 烟尘
 * @since 2023-03-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("study_resource")
public class StudyResource implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 资源id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 封面
     */
    @TableField("cover")
    private String cover;

    /**
     * 路径
     */
    @TableField("path")
    private String path;

    /**
     * 名称
     */
    @TableField("resource_name")
    private String resourceName;

    @TableField("course_id")
    private Integer courseId;


}
